package com.TTBook.core.book.dao;

import com.TTBook.core.book.model.BookStorage;
import com.TTBook.core.book.model.BookStorageCriteria;
import java.util.List;

public interface BookStorageDAO {
    int countByCriteria(BookStorageCriteria criteria);

    int deleteByCriteria(BookStorageCriteria criteria);

    int deleteByPrimaryKey(String bookid);

    void insert(BookStorage record);

    void insertSelective(BookStorage record);

    List selectByCriteria(BookStorageCriteria criteria);

    BookStorage selectByPrimaryKey(String bookid);

    int updateByCriteriaSelective(BookStorage record, BookStorageCriteria criteria);

    int updateByCriteria(BookStorage record, BookStorageCriteria example);

    int updateByPrimaryKeySelective(BookStorage record);

    int updateByPrimaryKey(BookStorage record);
}